﻿.calendar-header {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid var(--bs-border-color);
}

.calendar-title {
    color: #000;
    align-self: center;
    font-size: 1rem;
}

.calendar-button-group .btn {
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    background: #fff;
    border: 1px solid #dcdfe6;
    color: #606266;
    outline: none;
    margin: 0;
    transition: .3s;
    padding: 7px 15px;
    font-size: 12px;
}

    .calendar-button-group .btn:focus, .calendar-button-group .btn:hover {
        color: #409eff;
        border-color: #c6e2ff;
        background-color: #ecf5ff;
    }

    .calendar-button-group .btn:active {
        color: #3a8ee6;
        border-color: #3a8ee6;
        outline: none;
    }

.calendar-table {
    table-layout: fixed;
    width: 100%;
}

    .calendar-table thead th {
        padding: 12px 0;
        color: #606266;
        font-weight: 400;
        text-align: center;
    }

    .calendar-table:not(.is-range) td.next, .calendar-table:not(.is-range) td.prev {
        color: #c0c4cc;
    }

    .calendar-table tr td:first-child {
        border-left: 1px solid var(--bs-border-color);
    }

    .calendar-table tr:first-child td {
        border-top: 1px solid var(--bs-border-color);
    }

    .calendar-table td {
        border-bottom: 1px solid var(--bs-border-color);
        border-right: 1px solid var(--bs-border-color);
        vertical-align: top;
        transition: background-color .2s ease;
        cursor: pointer;
    }

        .calendar-table td.is-today {
            color: #409eff;
        }

        .calendar-table td.is-selected {
            color: #1989fa;
        }

        .calendar-table td.is-selected {
            background-color: #f2f8fe;
        }

    .calendar-table .calendar-day {
        box-sizing: border-box;
        padding: 8px;
        height: 85px;
    }

        .calendar-table .calendar-day:hover {
            cursor: pointer;
            background-color: #f2f8fe;
        }

    .calendar-table:not(.is-range) td.next, .calendar-table:not(.is-range) td.prev {
        color: #c0c4cc;
    }

.calendar .table-week .week-header {
    border-radius: 50%;
    border: 1px solid transparent;
    padding: 4px;
    display: inline-block;
    min-width: 52px;
}

    .calendar .table-week .week-header.is-today {
        border: 1px solid #409eff;
        color: #409eff;
    }

.calendar .table-week thead tr:last-child {
    border-bottom: 2px solid #dee2e6;
}

.calendar .table-week tbody tr {
    text-align: center;
}

.calendar .table-week tbody td {
    padding: 1rem 0;
    border-right: 0;
    border-left: 0;
    position: relative;
}
